package com.jason.annotation;

public class Main {

    private static  int taskid = 1;

    public static void main(String[] args) {

        taskidadd();

    }

    public static void  taskidadd() {

        while (true) {
            try {
                Thread.sleep(2000);
                System.out.println(taskid++);

            } catch (InterruptedException e) {
                e.printStackTrace();
            }
        }

    }
}
